<h1>编辑琴房</h1>

<% form_for :room, :url => {:action => 'update', :id=>@room} do |f| %>
  <%= f.error_messages %>
  <p>
    名称: <%= f.text_field :name %>
  </p>
  <p>
    <%= f.submit '更新' %>
  </p>
<% end %>

<%= link_to '返回', :action => 'index'%>
